package org.martyn.danbodroid.logger;

import org.martyn.danbodroid.preferences.Preferences;

import android.util.Log;

public class Logger
{

	public static void Verbose(String tag, String message)
	{
		if (Preferences.LOGGER_ISENABLED)
			Log.v(Preferences.LOGGER_TAG + " " + tag, message);
	}

	public static void Error(String tag, String message, Throwable throwable)
	{

		if (Preferences.LOGGER_ISENABLED)
			Log.e(Preferences.LOGGER_TAG + " " + tag, message, throwable);
	}

}
